package com.ihr360.authority.sharing.model;

import com.ihr360.commons.model.type.AccessPrivilege;
import com.ihr360.commons.model.type.ResourcePublicity;

import javax.persistence.Embeddable;
import java.io.Serializable;

/**
 * @author Stone.Shi
 * @description
 * @date 2018-05-07 15:55:04.
 */
@Embeddable
public class ResourceAccess implements Serializable {

    private transient AccessPrivilege accessPrivilege;

    private transient ResourcePublicity resourcePublicity;

    public AccessPrivilege getAccessPrivilege() {
        return accessPrivilege;
    }

    public void setAccessPrivilege(AccessPrivilege accessPrivilege) {
        this.accessPrivilege = accessPrivilege;
    }

    public ResourcePublicity getResourcePublicity() {
        return resourcePublicity;
    }

    public void setResourcePublicity(ResourcePublicity resourcePublicity) {
        this.resourcePublicity = resourcePublicity;
    }
}
